home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-06-18 | 1.4 KB | 40 lines | [TEXT/MPS ] |
- kShowHideTrapWord equ $108
- kNewDialogTrapWord equ $17D
- kSystemTaskTrapWord equ $1B4
- kSystemMenuTrapWord equ $1B5
- kTrackControlTrapWord equ $168
- kDialogSelectTrapWord equ $180
- kHiliteControlTrapWord equ $15D
-
- kDialogKind equ 2
- kNumCachedDialogs equ 5
-
- gestaltDylanTalk equ 'DTlk'
-
- kDylanTalkMenuID equ -21386 ; Resource ID of DylanTalk menu
- kDylanTalkIconID equ 128 ; Resource ID of DylanTalk icons
-
- Macro
- PatchHeader &oldTrapAddress
- String AsIs
- dc.l 'DTlk'
- String Pascal
- &oldTrapAddress: jmp $12345678
- EndM
-
- DylanTalkGlobals Record 0
- openDialogs ds.l kNumCachedDialogs ; Number of allowed nested dialogs
- aboutPicture ds.l 1 ; Handle to DylanTalk about picture
- firstDialogString ds.l 1 ; Handle to the string that we’ll say
- wordQueue ds.l 1 ; list of handles to be released
- dylanSndChannel ds.l 1 ; Our sound channel
- dylanTalkIcons ds.l 1 ; Handle to icon suite for menu
- preferencesDirID ds.l 1 ; Directory ID of DylanTalk Prefences folder
- preferencesFileName ds.l 1 ; Handle to name of preferences file
- preferencesVRefNum ds.w 1 ; Volume of DylanTalk Preferences
- personalityFile ds.w 1 ; RefNum of current personality file
- personalityItem ds.w 1 ; Item number in menu of current personality
- playingControlSound ds.w 1 ; True if we’re speaking the title of a button.
- globalSize equ *
- EndR
-